const p = new Promise((resolve, reject) => {
  reject(new Error('233'))
})
p.catch((r) => {
  console.log(r)
  return Promise.resolve(undefined)
}).then((r) => {
  console.log(r)
})
